package com.diyunapp.xilinapp.bean;

import java.util.List;

/**
 * Created by Administrator on 2016/6/28.
 */
public class CollectGoodsBean {


    /**
     * code : 200
     * hasmore : false
     * page_total : 1
     * datas : {"favorites_list":[{"goods_id":"49",
     * "goods_name":"春装 披肩式 超短款 针织 衫开衫 女装 青鸟 黑色",
     * "goods_price":"129.00","goods_image":"1_04418240955916042.jpg","store_id":"1",
     * "goods_marketprice":"358.00","goods_salenum":"3","fav_id":"49",
     * "goods_image_url":"http://www.xilingou.com/data/upload/shop/store/goods/1/1_04418240955916042_240.jpg"}]}
     */

    private int code;
    private boolean hasmore;
    private int page_total;
    private DatasBean datas;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public boolean isHasmore() {
        return hasmore;
    }

    public void setHasmore(boolean hasmore) {
        this.hasmore = hasmore;
    }

    public int getPage_total() {
        return page_total;
    }

    public void setPage_total(int page_total) {
        this.page_total = page_total;
    }

    public DatasBean getDatas() {
        return datas;
    }

    public void setDatas(DatasBean datas) {
        this.datas = datas;
    }

    public static class DatasBean {
        /**
         * goods_id : 49
         * goods_name : 春装 披肩式 超短款 针织 衫开衫 女装 青鸟 黑色
         * goods_price : 129.00
         * goods_image : 1_04418240955916042.jpg
         * store_id : 1
         * goods_marketprice : 358.00
         * goods_salenum : 3
         * fav_id : 49
         * goods_image_url : http://www.xilingou.com/data/upload/shop/store/goods/1/1_04418240955916042_240.jpg
         */

        private List<FavoritesListBean> favorites_list;

        public List<FavoritesListBean> getFavorites_list() {
            return favorites_list;
        }

        public void setFavorites_list(List<FavoritesListBean> favorites_list) {
            this.favorites_list = favorites_list;
        }

        public static class FavoritesListBean {
            private String goods_id;
            private String goods_name;
            private String goods_price;
            private String goods_image;
            private String store_id;
            private String goods_marketprice;
            private String goods_salenum;
            private String fav_id;
            private String goods_image_url;

            public boolean isDeleteState() {
                return isDeleteState;
            }

            public void setDeleteState(boolean deleteState) {
                isDeleteState = deleteState;
            }

            private  boolean isDeleteState = false;

            public FavoritesListBean(String goods_id,String goods_name, String goods_price, String goods_marketprice,
                                     String goods_salenum,String fav_id,String goods_image_url) {
                this.goods_id=goods_id;
                this.goods_name=goods_name;
                this.goods_price=goods_price;
                this.goods_marketprice=goods_marketprice;
                this.goods_salenum=goods_salenum;
                this.fav_id=fav_id;
                this.goods_image_url=goods_image_url;
            }

            public String getGoods_id() {
                return goods_id;
            }

            public void setGoods_id(String goods_id) {
                this.goods_id = goods_id;
            }

            public String getGoods_name() {
                return goods_name;
            }

            public void setGoods_name(String goods_name) {
                this.goods_name = goods_name;
            }

            public String getGoods_price() {
                return goods_price;
            }

            public void setGoods_price(String goods_price) {
                this.goods_price = goods_price;
            }

            public String getGoods_image() {
                return goods_image;
            }

            public void setGoods_image(String goods_image) {
                this.goods_image = goods_image;
            }

            public String getStore_id() {
                return store_id;
            }

            public void setStore_id(String store_id) {
                this.store_id = store_id;
            }

            public String getGoods_marketprice() {
                return goods_marketprice;
            }

            public void setGoods_marketprice(String goods_marketprice) {
                this.goods_marketprice = goods_marketprice;
            }

            public String getGoods_salenum() {
                return goods_salenum;
            }

            public void setGoods_salenum(String goods_salenum) {
                this.goods_salenum = goods_salenum;
            }

            public String getFav_id() {
                return fav_id;
            }

            public void setFav_id(String fav_id) {
                this.fav_id = fav_id;
            }

            public String getGoods_image_url() {
                return goods_image_url;
            }

            public void setGoods_image_url(String goods_image_url) {
                this.goods_image_url = goods_image_url;
            }
        }
    }
}
